//
//  RBMyCollectShopCell.m
//  zhongzhenglu
//
//  Created by 马军凯 on 2023/3/22.
//

#import "RBMyCollectShopCell.h"

@interface RBMyCollectShopCell ()

@property (weak, nonatomic) IBOutlet UIImageView *picImageView;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;

@property (nonatomic, strong) RBCellModel *cellModel;

@end

@implementation RBMyCollectShopCell

- (void)awakeFromNib {
    [super awakeFromNib];
    [self zoomSubViewsWithSelf];
}

- (void)setCellModel:(RBCellModel *)cellModel {
    _cellModel = cellModel;
    RBHistoryModel *model = cellModel.cellData;
    [self.picImageView setImageWithUrl:model.picurl placeHolder:nil];
    self.nameLabel.text = model.good_name;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}

@end
